# Contributor: stef <l0ls0fo2i@ctrlc.hu>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=opmsg
pkgver=1.78
pkgrel=2
pkgdesc="opmsg gpg-like encryption system"
url="https://github.com/stealth/opmsg"
arch="all"
license="GPL-3.0-or-later"
makedepends="openssl-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/stealth/opmsg/archive/rel-${pkgver}s.tar.gz"

builddir="$srcdir/$pkgname-rel-${pkgver}s"

build() {
	cd "$builddir/src"
	make opmsg opmux
}

package() {
	cd "$builddir/src"
	mkdir -p "$pkgdir"/usr/bin
	cp opmsg opmux "$pkgdir"/usr/bin
}

sha512sums="bfd3a9dfcc5082f4f7e3988d31c9e7ef499dd9726565f8fa21d631698c5821bcf080ff2b46488f1a93a997ff76a6e106343d85358b25a2785ce184419372cd23  opmsg-1.78.tar.gz"
